package com.xianniu.ltc.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xianniu.ltc.model.entity.TQuotationDTO;
import com.xianniu.ltc.model.po.UpdateQuotePO;
import com.xianniu.ltc.model.vo.QuotationVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @description t__quotation
 * @author wangruijie@zencor.cn
 * @date 2021-11-01
 */
@Mapper
public interface TQuotationMapper extends BaseMapper<TQuotationDTO> {

    QuotationVO selectApprovalById(@Param("id") String id, @Param("approvalState") Integer approvalState);

    int updateQuotationToLtc(@Param("po")UpdateQuotePO po);

    int updateShangJiToLtc(@Param("po")UpdateQuotePO po);

}
